﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Weiz.TaskManager.DAL;
using Weiz.TaskManager.Models;

namespace Weiz.TaskManager.BLL
{

    public class SpecificationsBLL
    {
        private readonly SpecificationsDAL dal = new SpecificationsDAL();
      
        
        public bool Add(SpecificationsModel model)
        {

            return dal.Add(model);
 
        }

        public PageOf<SpecificationsModel> GetSpecificationsList(int pageNo, int pageSize)
        {
            return dal.GetSpecificationsList(pageNo, pageSize);
        }

    }
}
